using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KhoaBangDiemEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:16/01/2012 25:11:54</para>
	/// <para>Class Name: KhoaBangDiemEntity</para>
	/// <para>Description: ClassKhoaBangDiemEntity store data of table KhoaBangDiem</para>
	///</summary>

	[DataContract]
	public partial class KhoaBangDiemEntity{


		private bool _InternalChangedIsNullKhoaBangDiem_ID=true;
		private bool _IsNullKhoaBangDiem_ID=true;
		private bool _InternalChangedIsNullLoaiDiem_ID=true;
		private bool _IsNullLoaiDiem_ID=true;
		private bool _InternalChangedIsNullMonHoc_ID=true;
		private bool _IsNullMonHoc_ID=true;
		private bool _InternalChangedIsNullLanThi=true;
		private bool _IsNullLanThi=true;
		private bool _InternalChangedIsNullUser_ID=true;
		private bool _IsNullUser_ID=true;
		private bool _InternalChangedIsNullKhoaDoiTuong_ID=true;
		private bool _IsNullKhoaDoiTuong_ID=true;
		private bool _InternalChangedIsNullLoaiKhoa=true;
		private bool _IsNullLoaiKhoa=true;
		private bool _InternalChangedIsNullTrangThai=true;
		private bool _IsNullTrangThai=true;
		private bool _InternalChangedIsNullNgayKhoa=true;
		private bool _IsNullNgayKhoa=true;
		private int _KhoaBangDiem_ID;
		private int _LoaiDiem_ID;
		private int _MonHoc_ID;
		private int _LanThi;
		private int _User_ID;
		private int _KhoaDoiTuong_ID;
		private Byte _LoaiKhoa;
		private Byte _TrangThai;
		private DateTime _NgayKhoa;
		[DataMember]
		public bool IsNullKhoaBangDiem_ID{
			get{return _IsNullKhoaBangDiem_ID;}
			set{if(!_InternalChangedIsNullKhoaBangDiem_ID)_IsNullKhoaBangDiem_ID=value;}
		}
		[DataMember]
		public bool IsNullLoaiDiem_ID{
			get{return _IsNullLoaiDiem_ID;}
			set{if(!_InternalChangedIsNullLoaiDiem_ID)_IsNullLoaiDiem_ID=value;}
		}
		[DataMember]
		public bool IsNullMonHoc_ID{
			get{return _IsNullMonHoc_ID;}
			set{if(!_InternalChangedIsNullMonHoc_ID)_IsNullMonHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullLanThi{
			get{return _IsNullLanThi;}
			set{if(!_InternalChangedIsNullLanThi)_IsNullLanThi=value;}
		}
		[DataMember]
		public bool IsNullUser_ID{
			get{return _IsNullUser_ID;}
			set{if(!_InternalChangedIsNullUser_ID)_IsNullUser_ID=value;}
		}
		[DataMember]
		public bool IsNullKhoaDoiTuong_ID{
			get{return _IsNullKhoaDoiTuong_ID;}
			set{if(!_InternalChangedIsNullKhoaDoiTuong_ID)_IsNullKhoaDoiTuong_ID=value;}
		}
		[DataMember]
		public bool IsNullLoaiKhoa{
			get{return _IsNullLoaiKhoa;}
			set{if(!_InternalChangedIsNullLoaiKhoa)_IsNullLoaiKhoa=value;}
		}
		[DataMember]
		public bool IsNullTrangThai{
			get{return _IsNullTrangThai;}
			set{if(!_InternalChangedIsNullTrangThai)_IsNullTrangThai=value;}
		}
		[DataMember]
		public bool IsNullNgayKhoa{
			get{return _IsNullNgayKhoa;}
			set{if(!_InternalChangedIsNullNgayKhoa)_IsNullNgayKhoa=value;}
		}
		[DataMember]
		public int KhoaBangDiem_ID{
			get{return _KhoaBangDiem_ID;}
			set{
				_KhoaBangDiem_ID=value;
				if(_KhoaBangDiem_ID!=null){
					_IsNullKhoaBangDiem_ID=false;
					_InternalChangedIsNullKhoaBangDiem_ID=true;
				}
			}
		}
		[DataMember]
		public int LoaiDiem_ID{
			get{return _LoaiDiem_ID;}
			set{
				_LoaiDiem_ID=value;
				if(_LoaiDiem_ID!=null){
					_IsNullLoaiDiem_ID=false;
					_InternalChangedIsNullLoaiDiem_ID=true;
				}
			}
		}
		[DataMember]
		public int MonHoc_ID{
			get{return _MonHoc_ID;}
			set{
				_MonHoc_ID=value;
				if(_MonHoc_ID!=null){
					_IsNullMonHoc_ID=false;
					_InternalChangedIsNullMonHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int LanThi{
			get{return _LanThi;}
			set{
				_LanThi=value;
				if(_LanThi!=null){
					_IsNullLanThi=false;
					_InternalChangedIsNullLanThi=true;
				}
			}
		}
		[DataMember]
		public int User_ID{
			get{return _User_ID;}
			set{
				_User_ID=value;
				if(_User_ID!=null){
					_IsNullUser_ID=false;
					_InternalChangedIsNullUser_ID=true;
				}
			}
		}
		[DataMember]
		public int KhoaDoiTuong_ID{
			get{return _KhoaDoiTuong_ID;}
			set{
				_KhoaDoiTuong_ID=value;
				if(_KhoaDoiTuong_ID!=null){
					_IsNullKhoaDoiTuong_ID=false;
					_InternalChangedIsNullKhoaDoiTuong_ID=true;
				}
			}
		}
		[DataMember]
		public Byte LoaiKhoa{
			get{return _LoaiKhoa;}
			set{
				_LoaiKhoa=value;
				if(_LoaiKhoa!=null){
					_IsNullLoaiKhoa=false;
					_InternalChangedIsNullLoaiKhoa=true;
				}
			}
		}
		[DataMember]
		public Byte TrangThai{
			get{return _TrangThai;}
			set{
				_TrangThai=value;
				if(_TrangThai!=null){
					_IsNullTrangThai=false;
					_InternalChangedIsNullTrangThai=true;
				}
			}
		}
		[DataMember]
		public DateTime NgayKhoa{
			get{return _NgayKhoa;}
			set{
				_NgayKhoa=value;
				if(_NgayKhoa!=null){
					_IsNullNgayKhoa=false;
					_InternalChangedIsNullNgayKhoa=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KhoaBangDiemEntityBase*****************************************/
	/*****************************************************************************************************/
}

